package com.guofeng.rich.gateway.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @Author: guofeng
 * @Date: 2021/08/20/9:49
 * @Description:
 */
public interface GatewayConstant {
    /**
     * 存储的前缀
     */
    String TOKEN_PREFIX = "token:";

    /**
     * 放行地址
     */
    List<String> ALLOW_URL = Arrays.asList("/doLogin","/loginOut","/oauth/token");

    /**
     * header 里面 token 的 key
     */
    String AUTH_TOKEN = "Authorization";
}

















